package cn.kgc.easybuy.service;

import cn.kgc.easybuy.pojo.News;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface NewsService {
    boolean delNews(Integer id);
    boolean updateNews(News news);
    boolean addNews(News news);
    News selectNewsById(Integer id);
    PageInfo<News> selectNewsByPage(Map<String,Object> params);
}
